<?php
    require_once("../global_conf.php");
    require_once($site->langdir."/".$_SESSION['lang'].".lang.php");
    include("./include/top.inc.php");
 ?>
<div id="wrapper">
    <div id="header">
        <div id="logo">
            <h1><a href="index.php">Qms</a></h1>
            <p>qr-code management system by <a href="http://www.facebook.com/goatsevethequeen">Lorenzo D'Agostino</a></p>
        </div>
    </div>
    <div id="menu">
    <ul>
        <li <?php if (isset($hometab)) echo $hometab; ?>><a href="index.php"><span>Home</span></a></li>
        <li <?php if (isset($datatab)) echo $datatab; ?>><a href="data.php"><span>Data</span></a></li>
        <li <?php if (isset($usertab)) echo $usertab; ?>><a href="user.php"><span>User</span></a></li>
        <li <?php if (isset($accounttab)) echo $accounttab; ?>><a href="account.php"><span>Account</span></a></li>
        <li><a href="login.php?logout=1"><span>Logout</span></a></li>
    </ul>
    </div>